package gulimall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gulimall.entity.CategoryBrandRelation;
import gulimall.utils.PageUtils;
import gulimall.vo.BrandRespVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author HLF
 * @email 1132814637@qq.com
 * @date 2022-05-04 15:04:15
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelation> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelation categoryBrandRelation);

    void updateBrand(Long brandId, String name);

    int updateCategory(Long catId, String name);

    List<BrandRespVo> listBrandsByCatId(Long catId);
}

